package com.upcode.weighing.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author zhuyanwei
 */
@Configuration
@ConfigurationProperties(prefix = "etcissue")
@Component
public class FileServerConfig {
    private String path;

    private String ftpPath;

    private String appPackPath;

    private String appPackUploadPath;

    private String ftpIp;

    private int ftpPort;

    private String ftpUser;

    private String ftpPassword;

    private String complainBaseUrl;

    private String complainUploadPath;

    private String templateFileId;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getFtpPath() {
        return ftpPath;
    }

    public void setFtpPath(String ftpPath) {
        this.ftpPath = ftpPath;
    }

    public String getAppPackPath() {
        return appPackPath;
    }

    public void setAppPackPath( String appPackPath ) {
        this.appPackPath = appPackPath;
    }

    public String getAppPackUploadPath() {
        return appPackUploadPath;
    }

    public void setAppPackUploadPath(String appPackUploadPath) {
        this.appPackUploadPath = appPackUploadPath;
    }

    public String getFtpIp() {
        return ftpIp;
    }

    public void setFtpIp(String ftpIp) {
        this.ftpIp = ftpIp;
    }

    public int getFtpPort() {
        return ftpPort;
    }

    public void setFtpPort(int ftpPort) {
        this.ftpPort = ftpPort;
    }

    public String getFtpUser() {
        return ftpUser;
    }

    public void setFtpUser(String ftpUser) {
        this.ftpUser = ftpUser;
    }

    public String getFtpPassword() {
        return ftpPassword;
    }

    public void setFtpPassword(String ftpPassword) {
        this.ftpPassword = ftpPassword;
    }

    public String getComplainBaseUrl() {
        return complainBaseUrl;
    }

    public void setComplainBaseUrl(String complainBaseUrl) {
        this.complainBaseUrl = complainBaseUrl;
    }

    public String getComplainUploadPath() {
        return complainUploadPath;
    }

    public void setComplainUploadPath(String complainUploadPath) {
        this.complainUploadPath = complainUploadPath;
    }

    public String getTemplateFileId() {
        return templateFileId;
    }

    public void setTemplateFileId(String templateFileId) {
        this.templateFileId = templateFileId;
    }
}
